UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Crontab files must be group-owned by root, cron, or the crontab creators primary group.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22385 GEN003050 SV-64399r1_rule ECLP-1 Medium
Description
To protect the integrity of scheduled system jobs and prevent malicious modification to these jobs, crontab files must be secured.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2015-06-05

Details

Check Text ( C-52799r1_chk )
Check the group ownership of the crontab files.
Procedure:

# ls -lL /var/spool/cron

# ls -lL /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly
or
# ls -lL /etc/cron*|grep -v deny

If the group owner is not root or the crontab owner's primary group, this is a finding.
Fix Text (F-54981r1_fix)
Change the group owner of the crontab file to root, cron, or the crontab's primary group.

Procedure:
# chgrp root [crontab file]